package com.rongke.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.rongke.mapper.ShareMapper;
import com.rongke.model.Share;
import com.rongke.service.ShareService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ShareServiceImpl
 * @股票(后台)ServiceImpl
 * @version : Ver 1.0
 */
@Service
public class ShareServiceImpl extends ServiceImpl<ShareMapper, Share> implements ShareService {
    @Autowired
    private ShareMapper shareMapper;

    public void updateAll(List<Share> shareList){
        shareMapper.updateAll(shareList);
    }
    public void insertSome(List<Share> shareList){
        shareMapper.insertSome(shareList);
    }


    public List<Share>selectLikeShare(String search){
        return  shareMapper.selectLikeShare(search);
    }


}
